package com.xyh.eduservice.client;

import com.xyh.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

@Component
@FeignClient("service-ucenter")
public interface UcenterClient {

    //根据用户id返回信息
    @GetMapping("/educenter/member/getMemberById/{memberId}")
    public Map<String,Object> getMemberById(@PathVariable("memberId") String memberId);
}
